package com.zoro.barn.api.documentsql.document;

import com.zoro.barn.commons.foundation.web.PageResultInfoInterface;
import com.zoro.barn.dto.documentsql.document.DocumentQueryDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 这个类是用于测试 Feign 接口调用时分页逻辑的
 * @author zhaoxingwu
 */
public interface BarnDocumentTestService {

    @RequestMapping("testPage")
    PageResultInfoInterface<DocumentQueryDto> getDocumentInfo(@RequestBody DocumentQueryDto data) throws Exception;
}
